package com.oracle.pojo;

import java.util.Date;

public class ShoppoingCart {
    private Integer id;

    private Integer cid;

    private Integer uid;

    private Integer num;

    private Float price;

    private Date createTime;

    private String cname;

    private String url;

    public ShoppoingCart(Integer id, Integer cid, Integer uid, Integer num, Float price, Date createTime, String cname, String url) {
        this.id = id;
        this.cid = cid;
        this.uid = uid;
        this.num = num;
        this.price = price;
        this.createTime = createTime;
        this.cname = cname;
        this.url = url;
    }

    public ShoppoingCart() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }
}